<?php
/**
 * 
 */

require_once 'Nanaly/Model.php';

/**
 * This is the implementation of the subway information released
 */
class Mta_Subway_Routes extends Nanaly_Model{
	protected $_rowClass = 'mta_subway_route';
	/**
	 * This is to obtain the route
	 *
	 * @param string|integer $id the id of the train route to look for
	 * @return Zend_Db_Table_Row 
	 */
	public function getByTrain($id)
	{
		$select = $this->select()->from('mta_subway_route')->setIntegrityCheck(false)
				->where('mta_subway_routes.route_id = ?', $id);
				
		return $this->fetchRow($select);
	}
	
}

class Mta_Subway_Route extends Nanaly_Dto
{

}